package com.yuaer.demo.springsparkjobrunnerdemo.feign;

import com.yuaer.demo.springsparkjobrunnerdemo.model.MktActivity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.time.LocalDate;
import java.util.List;

@FeignClient(name = "mirsvr-demo")
public interface MirsvrDemoService {

    @GetMapping(path = "/test/getActivity")
    List<MktActivity> getActivitiesToBeExecute();
}


